package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.boot.autoconfigure.security.SecurityProperties.User;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用车订单对象 jypc_carorder
 * 
 * @author HWJ
 * @date 2022-11-02
 */
public class Carorder extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 订单编号 */
	@Excel(name = "订单编号编号")
	private Long orderid;

	/** 状态（0正常 1停用） *//*
						 * @Excel(name = "状态", readConverterExp = "0=正常,1=停用") private String status;
						 */

	/** 上车地点编号 */
	@Excel(name = "上车地点", readConverterExp = "1=江阴职业技术学院,2=南闸医院")
	private Long pointid;

	/** 车辆类型编号 */
	@Excel(name = "车辆类型", readConverterExp = "1=5座小型轿车,2=7座SUV,3=考斯特")
	private Long typeid;

	/** 开始用车时间 */
	@Excel(name = "开始用车时间")
	private String start;

	/** 结束用车时间 */
	@Excel(name = "结束用车时间")
	private String end;

	/** 用户编号 */
	@Excel(name = "用户",readConverterExp = "1=张三,2=李四,3=王五")
	private Long userid;

	/** 备注 */
	@Excel(name = "备注")
	private String othermsg;

	/** 车辆编号 */
	@Excel(name = "车辆",readConverterExp = "1=奔驰,2=宝马,3=上海大众")
	private Long carid;

	/** $column.columnComment */
	// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String yl1;

	/** $column.columnComment */
	// @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
	private String yl2;

	/** 状态（0正常 1停用） */
	@Excel(name = "订单状态", readConverterExp = "0=已审核,1=未审核,2=不通过,3=已取消")
	private String status;

	/** 备注1 */
	// @Excel(name = "备注1")
	private String remark1;

	/** 备注2 */
	// @Excel(name = "备注2")
	private String remark2;

	private com.ruoyi.jypc.domain.User user;

	private Cartype cartype;

	public Cartype getCartype() {
		return cartype;
	}

	public void setCartype(Cartype cartype) {
		this.cartype = cartype;
	}

	public Point getPoint() {
		return point;
	}

	public void setPoint(Point point) {
		this.point = point;
	}

	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	private Point point;

	private Car car;

	public com.ruoyi.jypc.domain.User getUser() {
		return user;
	}

	public void setUser(com.ruoyi.jypc.domain.User user) {
		this.user = user;
	}

	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}

	public Long getOrderid() {
		return orderid;
	}

	public void setPointid(Long pointid) {
		this.pointid = pointid;
	}

	public Long getPointid() {
		return pointid;
	}

	public void setTypeid(Long typeid) {
		this.typeid = typeid;
	}

	public Long getTypeid() {
		return typeid;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getStart() {
		return start;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public String getEnd() {
		return end;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getUserid() {
		return userid;
	}

	public void setOthermsg(String othermsg) {
		this.othermsg = othermsg;
	}

	public String getOthermsg() {
		return othermsg;
	}

	public void setCarid(Long carid) {
		this.carid = carid;
	}

	public Long getCarid() {
		return carid;
	}

	public void setYl1(String yl1) {
		this.yl1 = yl1;
	}

	public String getYl1() {
		return yl1;
	}

	public void setYl2(String yl2) {
		this.yl2 = yl2;
	}

	public String getYl2() {
		return yl2;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setRemark1(String remark1) {
		this.remark1 = remark1;
	}

	public String getRemark1() {
		return remark1;
	}

	public void setRemark2(String remark2) {
		this.remark2 = remark2;
	}

	public String getRemark2() {
		return remark2;
	}

	@Override
	public String toString() {
		return "Carorder [orderid=" + orderid + ", pointid=" + pointid + ", typeid=" + typeid + ", start=" + start
				+ ", end=" + end + ", userid=" + userid + ", othermsg=" + othermsg + ", carid=" + carid + ", yl1=" + yl1
				+ ", yl2=" + yl2 + ", status=" + status + ", remark1=" + remark1 + ", remark2=" + remark2 + ", user="
				+ user + ", cartype=" + cartype + ", point=" + point + ", car=" + car + "]";
	}

	/*
	 * @Override public String toString() { return "Carorder [orderid=" + orderid +
	 * ", pointid=" + pointid + ", typeid=" + typeid + ", start=" + start + ", end="
	 * + end + ", userid=" + userid + ", othermsg=" + othermsg + ", carid=" + carid
	 * + ", yl1=" + yl1 + ", yl2=" + yl2 + ", status=" + status + ", remark1=" +
	 * remark1 + ", remark2=" + remark2 + ", user=" + user + "]"; }
	 */

}
